package com.singing;

import com.singing.manager.ApplicationManager;
import com.singing.model.Command;

import java.util.ArrayList;
import java.util.List;

public class SingApplication {
    public static void main(String[] args) {
        SingApplication.run();
    }

    public static void run() {

        List<Command> commandList = new ArrayList<>();

        commandList.add(new Command(1, "管理员登陆", false));
        commandList.add(new Command(2, "管理员注册", false));
        commandList.add(new Command(3, "歌手管理"));
        commandList.add(new Command(4, "裁判管理"));
        commandList.add(new Command(5, "比分管理"));

        ApplicationManager applicationManager = new ApplicationManager("歌唱比赛评分系统", commandList);

        applicationManager.manage();
    }
}
